package _220326;
import java.util.Scanner;

/**
 * @author ShadowLim
 * @create 2022-03-26-12:49
 */
public class 蓝跳跳 {
    static int n;
    static int[][] a;

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        n = scanner.nextInt();
        a = new int[n - 1][3];
        for (int i = 0; i < n - 1; i++) {
            for (int j = 0; j < 3; j++) {
                a[i][j] = scanner.nextInt();
            }
        }
    }
}






